package com.t.enums;

public enum EnumStatus implements ValuedEnum {
    NORMAL(1, "这是1"), DELETE(0, "这是2"), CANCEL(2, "这是3");

    private EnumStatus(int code, String description) {
        this.code = new Integer(code);
        this.description = description;
    }

    private Integer code;

    private String description;

    public Integer getCode() {

        return code;
    }

    public String getDescription() {

        return description;
    }

    public int getValue() {
        return code;
    }
}
